<template>
	<view class="swiper-item">
		<img class="image" src="http://demo.cyyyds.cn/uploads/20250114/map.png" @click="callmap"></img>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			callmap(){
				uni.openLocation({
					latitude: 34.793155,//纬度
					longitude: 113.72515,//经度
					name: "二里头夏都遗址博物馆",
					address: "河南省洛阳市偃师区斟鄩大道1号"
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
.swiper-item {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;

	.image {
		width: 100%;
		height: auto;
	}
}
</style>

